<template>
  <swiper class="detail-swiper">
    <swiper-item v-for="item of swiperImg" :key="item">
      <img :src="item" />
    </swiper-item>
  </swiper>
</template>

<script>
import { Swiper, SwiperItem } from "components/common/swiper";
export default {
  name: "DetailSwiper",
  props: {
    swiperImg: {
      type: Array,
      default() {
        return [];
      }
    }
  },
  data() {
    return {};
  },
  components: {
    Swiper,
    SwiperItem
  }
};
</script>

<style lang="less" scoped>
.detail-swiper {
  height: 300px;
}
</style>